From 14d64eaf95bb153d84232884b066e04f9782e126 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Wed, 3 Jan 2018 08:18:47 +0100 Subject: [PATCH] dnd: Add g-i annotations for gdk_drop_read_async/finish --- gdk/gdkdnd.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gdk/gdkdnd.c b/gdk/gdkdnd.c index c8d0ba5931..b88d83b9ec 100644 --- a/gdk/gdkdnd.c +++ b/gdk/gdkdnd.c @@ -819,6 +819,17 @@ gdk_drag_context_write_finish (GdkDragContext *context, return g_task_propagate_boolean (G_TASK (result), error); } +/** + * gdk_drop_read_async: + * @context: a #GdkDragContext + * @mime_types: (array zero-terminated=1) (element-type utf8): + * @io_priority: + * @cancellable: + * @callback: + * @user_data: (closure): + * + * Since: 3.94 + */ void gdk_drop_read_async (GdkDragContext *context, const char **mime_types, @@ -846,6 +857,17 @@ gdk_drop_read_async (GdkDragContext *context, gdk_content_formats_unref (formats); } +/** + * gdk_drop_read_finish: + * @context: a #GdkDragContext + * @out_mime_type: (out) (type utf8): + * @result: + * @error: + * + * Returns: (nullable) (transfer full): the #GInputStream, or %NULL + * + * Since: 3.94 + */ GInputStream * gdk_drop_read_finish (GdkDragContext *context, const char **out_mime_type, -- 2.30.2